package com.iretailer.report.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Camera;
import com.iretailer.report.model.CameraMall;
import com.iretailer.report.model.CameraTypeCount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 11:31
 * @Description:
 */
public interface CameraMapper extends SuperMapper<Camera> {

    IPage<CameraMall> selectPageCameras(Page page, @Param("ew") Wrapper wrapper);

    List<CameraMall> selectCameras( @Param("ew") Wrapper wrapper);

    List<CameraTypeCount> getCameraTypeCount(@Param("companyId") String companyId);
}
